package com.coding.dao;

import com.coding.pojo.Post;

import java.util.List;

public interface PostDao {
    int deleteByPrimaryKey(Integer post_id);

    int insert(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(Integer post_id);

    List<Post> queryAlllist(Post post);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);
}